package com.example.demo.service.exam;

import com.example.demo.domain.exam.UserExamAns;

import java.util.List;

public interface UserExamAnswerService {

    void insertList(List<UserExamAns> userExamAnswerList);

    List<UserExamAns> getExamAns(Long examId, Long userId);

    void saveOrUpdateProgrammingQuestion(UserExamAns entity);

    UserExamAns getByExamUserQuestionId(Long examId, Long userId, Long questionId);

    void deleteByExamUserId(Long examId, Long userId);

    List<UserExamAns> getExamAnsByExamId(Long examId);

}
